package com.freeLearning.boot.course.enums;

import lombok.Getter;

@Getter
public enum StatusEnum {
    WAIT_AUDIT(0, "待审核"),
    AUDIT_PASS(1, "审核通过"),
    AUDIT_NOT_PASS(2, "审核未通过"),
    PUBLISH(3, "已发布"),
    WAIT_PUBLISH(4, "待发布");
    private final Integer value;

    private final String label;

    StatusEnum(Integer value, String label) {
        this.value = value;
        this.label = label;
    }
}
